fix: 7623 - cleaner UI/UX for price adding#7625
Conversation
Deleted files: * `price_add_product_button.dart` * `price_amount_quantity.dart` * `price_amount_sum.dart` Impacted files: * `app_localizations.dart`: wtf * `price_amount_card.dart`: removed redundant and incorrect data * `price_amount_card_item.dart`: put back the discount type drow down button * `price_location_card.dart`: removed the inconsistent "no edit" mode * `product_price_add_page.dart`: removed the additional "add" FAB
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #7625 +/- ##
==========================================
- Coverage 9.54% 9.06% -0.49%
==========================================
Files 325 646 +321
Lines 16411 37511 +21100
==========================================
+ Hits 1567 3399 +1832
- Misses 14844 34112 +19268 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I liked that they mirror a physical receipts, where those are usually visible at the end: |
|
Thank you @teolemon for your review! Regarding the number of prices, it's not the number of items purchased as in a receipt: we don't support the number of items bought. |
What
The latest version of the price adding introduced inconsistencies and removed features.
This PR fixes the most obvious problems:
Screenshots
Fixes bug(s)
Files
Deleted files:
price_add_product_button.dartprice_amount_quantity.dartprice_amount_sum.dartImpacted files:
app_localizations.dart: wtfprice_amount_card.dart: removed redundant and incorrect dataprice_amount_card_item.dart: put back the discount type drow down buttonprice_location_card.dart: removed the inconsistent "no edit" modeproduct_price_add_page.dart: removed the additional "add" FAB